removeStat

  • function
 

Remove the currently displayed stat, hiding the stat menu.

viewmodel.removeStat()

Remove the currently displayed stat, hiding the stat menu.

Use in a template like:

<button type="submit" class="btn btn-primary" >Add</button> 
<a class="btn btn-default" ($click)="removeStat()">Cancel</a>